package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_LogisticsMethod", catalog="Id")
public class TccLogisticsMethod extends BaseEntity<TccLogisticsMethod> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="LogsticsWay", nameJava="logsticsWay", typeDataBase="varchar")
	private String logsticsWay;
	@YsField(nameDataBase="Cck", nameJava="cck", typeDataBase="varchar")
	private String cck;
	@YsField(nameDataBase="TransportationId", nameJava="transportationId", typeDataBase="bigint")
	private Long transportationId;
	@YsField(nameDataBase="EstimatedDayFrom", nameJava="estimatedDayFrom", typeDataBase="int")
	private Integer estimatedDayFrom;
	@YsField(nameDataBase="EstimatedDayTo", nameJava="estimatedDayTo", typeDataBase="int")
	private Integer estimatedDayTo;
	@YsField(nameDataBase="NameLogsticsClearance", nameJava="nameLogsticsClearance", typeDataBase="tinyint")
	private Integer nameLogsticsClearance;
	@YsField(nameDataBase="CoefficientWeight", nameJava="coefficientWeight", typeDataBase="int")
	private Integer coefficientWeight;
	@YsField(nameDataBase="SinglePassCrane", nameJava="singlePassCrane", typeDataBase="decimal")
	private BigDecimal singlePassCrane;
	@YsField(nameDataBase="WeightCalBySingle", nameJava="weightCalBySingle", typeDataBase="decimal")
	private BigDecimal weightCalBySingle;
	@YsField(nameDataBase="SingleBoxReqAmountMin", nameJava="singleBoxReqAmountMin", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMin;
	@YsField(nameDataBase="SingleBoxReqAmountMax", nameJava="singleBoxReqAmountMax", typeDataBase="decimal")
	private BigDecimal singleBoxReqAmountMax;
	@YsField(nameDataBase="ClearanceOpeAmount", nameJava="clearanceOpeAmount", typeDataBase="decimal")
	private BigDecimal clearanceOpeAmount;
	@YsField(nameDataBase="FreeProNameNum", nameJava="freeProNameNum", typeDataBase="int")
	private Integer freeProNameNum;
	@YsField(nameDataBase="MaxProNameNum", nameJava="maxProNameNum", typeDataBase="int")
	private Integer maxProNameNum;
	@YsField(nameDataBase="AdditionalStandardAmount", nameJava="additionalStandardAmount", typeDataBase="decimal")
	private BigDecimal additionalStandardAmount;
	@YsField(nameDataBase="DivisionalRule", nameJava="divisionalRule", typeDataBase="tinyint")
	private Integer divisionalRule;
	@YsField(nameDataBase="DestinationCountryName", nameJava="destinationCountryName", typeDataBase="varchar")
	private String destinationCountryName;
	@YsField(nameDataBase="DestinationCountryCode", nameJava="destinationCountryCode", typeDataBase="varchar")
	private String destinationCountryCode;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Describe", nameJava="describe", typeDataBase="varchar")
	private String describe;
	@YsField(nameDataBase="Premark", nameJava="premark", typeDataBase="varchar")
	private String premark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLogisticsMethod setId(Long id) {
		this.id = id;
		return this;
	}
	public String getLogsticsWay() {
		return logsticsWay;
	}
	public TccLogisticsMethod setLogsticsWay(String logsticsWay) {
		this.logsticsWay = logsticsWay;
		return this;
	}
	public String getCck() {
		return cck;
	}
	public TccLogisticsMethod setCck(String cck) {
		this.cck = cck;
		return this;
	}
	public Long getTransportationId() {
		return transportationId;
	}
	public TccLogisticsMethod setTransportationId(Long transportationId) {
		this.transportationId = transportationId;
		return this;
	}
	public Integer getEstimatedDayFrom() {
		return estimatedDayFrom;
	}
	public TccLogisticsMethod setEstimatedDayFrom(Integer estimatedDayFrom) {
		this.estimatedDayFrom = estimatedDayFrom;
		return this;
	}
	public Integer getEstimatedDayTo() {
		return estimatedDayTo;
	}
	public TccLogisticsMethod setEstimatedDayTo(Integer estimatedDayTo) {
		this.estimatedDayTo = estimatedDayTo;
		return this;
	}
	public Integer getNameLogsticsClearance() {
		return nameLogsticsClearance;
	}
	public TccLogisticsMethod setNameLogsticsClearance(Integer nameLogsticsClearance) {
		this.nameLogsticsClearance = nameLogsticsClearance;
		return this;
	}
	public Integer getCoefficientWeight() {
		return coefficientWeight;
	}
	public TccLogisticsMethod setCoefficientWeight(Integer coefficientWeight) {
		this.coefficientWeight = coefficientWeight;
		return this;
	}
	public BigDecimal getSinglePassCrane() {
		return singlePassCrane;
	}
	public TccLogisticsMethod setSinglePassCrane(BigDecimal singlePassCrane) {
		this.singlePassCrane = singlePassCrane;
		return this;
	}
	public BigDecimal getWeightCalBySingle() {
		return weightCalBySingle;
	}
	public TccLogisticsMethod setWeightCalBySingle(BigDecimal weightCalBySingle) {
		this.weightCalBySingle = weightCalBySingle;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMin() {
		return singleBoxReqAmountMin;
	}
	public TccLogisticsMethod setSingleBoxReqAmountMin(BigDecimal singleBoxReqAmountMin) {
		this.singleBoxReqAmountMin = singleBoxReqAmountMin;
		return this;
	}
	public BigDecimal getSingleBoxReqAmountMax() {
		return singleBoxReqAmountMax;
	}
	public TccLogisticsMethod setSingleBoxReqAmountMax(BigDecimal singleBoxReqAmountMax) {
		this.singleBoxReqAmountMax = singleBoxReqAmountMax;
		return this;
	}
	public BigDecimal getClearanceOpeAmount() {
		return clearanceOpeAmount;
	}
	public TccLogisticsMethod setClearanceOpeAmount(BigDecimal clearanceOpeAmount) {
		this.clearanceOpeAmount = clearanceOpeAmount;
		return this;
	}
	public Integer getFreeProNameNum() {
		return freeProNameNum;
	}
	public TccLogisticsMethod setFreeProNameNum(Integer freeProNameNum) {
		this.freeProNameNum = freeProNameNum;
		return this;
	}
	public Integer getMaxProNameNum() {
		return maxProNameNum;
	}
	public TccLogisticsMethod setMaxProNameNum(Integer maxProNameNum) {
		this.maxProNameNum = maxProNameNum;
		return this;
	}
	public BigDecimal getAdditionalStandardAmount() {
		return additionalStandardAmount;
	}
	public TccLogisticsMethod setAdditionalStandardAmount(BigDecimal additionalStandardAmount) {
		this.additionalStandardAmount = additionalStandardAmount;
		return this;
	}
	public Integer getDivisionalRule() {
		return divisionalRule;
	}
	public TccLogisticsMethod setDivisionalRule(Integer divisionalRule) {
		this.divisionalRule = divisionalRule;
		return this;
	}
	public String getDestinationCountryName() {
		return destinationCountryName;
	}
	public TccLogisticsMethod setDestinationCountryName(String destinationCountryName) {
		this.destinationCountryName = destinationCountryName;
		return this;
	}
	public String getDestinationCountryCode() {
		return destinationCountryCode;
	}
	public TccLogisticsMethod setDestinationCountryCode(String destinationCountryCode) {
		this.destinationCountryCode = destinationCountryCode;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccLogisticsMethod setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public String getDescribe() {
		return describe;
	}
	public TccLogisticsMethod setDescribe(String describe) {
		this.describe = describe;
		return this;
	}
	public String getPremark() {
		return premark;
	}
	public TccLogisticsMethod setPremark(String premark) {
		this.premark = premark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLogisticsMethod setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLogisticsMethod setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLogisticsMethod setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLogisticsMethod tccLogisticsMethod(
		String logsticsWay,
		String cck,
		Long transportationId,
		Integer estimatedDayFrom,
		Integer estimatedDayTo,
		Integer nameLogsticsClearance,
		Integer coefficientWeight,
		BigDecimal singlePassCrane,
		BigDecimal weightCalBySingle,
		BigDecimal singleBoxReqAmountMin,
		BigDecimal singleBoxReqAmountMax,
		BigDecimal clearanceOpeAmount,
		Integer freeProNameNum,
		Integer maxProNameNum,
		BigDecimal additionalStandardAmount,
		Integer divisionalRule,
		String destinationCountryName,
		String destinationCountryCode,
		String remark,
		String describe,
		String premark,
		Integer status
			) {
		TccLogisticsMethod entity = new TccLogisticsMethod();
		entity.setLogsticsWay(logsticsWay);
		entity.setCck(cck);
		entity.setTransportationId(transportationId);
		entity.setEstimatedDayFrom(estimatedDayFrom);
		entity.setEstimatedDayTo(estimatedDayTo);
		entity.setNameLogsticsClearance(nameLogsticsClearance);
		entity.setCoefficientWeight(coefficientWeight);
		entity.setSinglePassCrane(singlePassCrane);
		entity.setWeightCalBySingle(weightCalBySingle);
		entity.setSingleBoxReqAmountMin(singleBoxReqAmountMin);
		entity.setSingleBoxReqAmountMax(singleBoxReqAmountMax);
		entity.setClearanceOpeAmount(clearanceOpeAmount);
		entity.setFreeProNameNum(freeProNameNum);
		entity.setMaxProNameNum(maxProNameNum);
		entity.setAdditionalStandardAmount(additionalStandardAmount);
		entity.setDivisionalRule(divisionalRule);
		entity.setDestinationCountryName(destinationCountryName);
		entity.setDestinationCountryCode(destinationCountryCode);
		entity.setRemark(remark);
		entity.setDescribe(describe);
		entity.setPremark(premark);
		entity.setStatus(status);
		return entity;
	}
}